package org.hive.events
{
	import flash.events.Event;
	import flash.events.IOErrorEvent;

	public class LoadManagerEvent extends Event
	{
		public static var ON_ELEMENT_ADDED :String = "loaderSetElementAdded";
		public var percent : Number;
		public var element : *;
		public var error : IOErrorEvent;
		public var name : String;
		public var loaderArray : Array;
		
		public function LoadManagerEvent(type:String, percentNum:Number, obj:*=null, ioerror:IOErrorEvent=null, loaderName:String=null, loaderArr:Array=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			percent = percentNum;
			element = obj;
			error = ioerror;
			name = loaderName;
			loaderArray = loaderArr;
		}
		
	}
}